package tr.edu.metu.is550.isell.repository;

import org.springframework.data.repository.CrudRepository;
import tr.edu.metu.is550.isell.domain.User;

public interface UserRepository extends CrudRepository<User, Long> {
    User findByUserCredentialsLoginName(String loginName);


/*
    @Override
    User save(User entity);

    @Override
    Iterable<User> save(Iterable<? extends User> entities);

    @Override
    User findOne(Long aLong);

    @Override
    boolean exists(Long aLong);

    @Override
    Iterable<User> findAll();

    @Override
    long count();

    @Override
    void delete(Long aLong);

    @Override
    void delete(User entity);

    @Override
    void delete(Iterable<? extends User> entities);

    @Override
    void deleteAll();*/
}
